package com.unience.ec2.eclipse.treeviewer.ui;

import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerFilter;

import com.unience.ec2.eclipse.model.SecurityGroup;
import com.unience.ec2.eclipse.model.Ec2Info;

public class BoardgameFilter extends ViewerFilter {

	/*
	 * @see ViewerFilter#select(Viewer, Object, Object)
	 */
	public boolean select(Viewer viewer, Object parentElement, Object element) {
		return element instanceof SecurityGroup || element instanceof Ec2Info;
	}

}
